#ifndef IMAGETAB_H_
#define IMAGETAB_H_

#include <QWidget>
#include <QFormLayout>
#include <QLabel>
#include <QGroupBox>
#include <QPushButton>
#include <QHBoxLayout>
#include <QPixmap>
#include <QImage>
#include <QDataStream>
#include <QPicture>

#include "PaintWidget.h"
#include "../Core/ImageObj.h"

class ImageTab : public QWidget
{
	Q_OBJECT

	private:
		QFormLayout *mainLayout;
		QGroupBox *functionsGrid;
		QPushButton *cropButton;
		PaintWidget *native;
		QGroupBox *imageGrid;

	public:
		ImageTab(QWidget *parent = 0);
		void repaint();
		void paintImage(ImageObj** img);
		ImageObj **imageObj;
		~ImageTab();

	private:
		void buildGridFunction();
		void buildGridImage();
};

#endif

